
package com.dy.template;

import com.dy.model.Creator;
import com.dy.model.TableInfo;

/**
 * @Description:
 * @Date：2018年6月21日 @author： DongY
 * @version ：1.0 1.[2018年6月21日]CreatBy：dy
 */

public class HtmlList implements BaseSting {

	@Override
	public String getStr(final TableInfo tableInfo, final Creator c) {
		String liststr = "<!DOCTYPE html>\r\n<html>\r\n	<head>\r\n" + "	    <meta charset='utf-8'>\r\n"
				+ "	    <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1'>\r\n"
				+ "	    <title>列表</title>\r\n"
				+ "	    <link rel='stylesheet' href='../plugins/layui/css/layui.css' media='all'>\r\n"
				+ "	    <link rel='stylesheet' href='../plugins/font-awesome/css/font-awesome.min.css' media='all'>\r\n"
				+ "	    <link rel='stylesheet' href='../css/plugins/app.css' media='all'>\r\n"
				+ "	    <link rel='stylesheet' href='../plugins/bootstrap-table/bootstrap-table.css' />\r\n"
				+ "	    <link rel='stylesheet' href='../css/pr_project_plan.css'/>\r\n" + "	</head>\r\n"
				+ "	<body>";
		liststr += "	<div style='margin: 0 0px;margin-top: 3px;'>\r\n"
				+ "		<table id='$table'></table>\r\n	</div>";
		liststr += "	<script src='../common/js/jquery-1.10.1.min.js'></script>\r\n"
				+ "	<script src='../plugins/layui/layui.js' type='text/javascript'></script>\r\n"
				+ "	<script src='../plugins/bootstrap-table/bootstrap-table.js' type='text/javascript'></script>\r\n"
				+ "	<script src='../plugins/bootstrap-table/bootstrap-table-zh-CN.js' type='text/javascript' charset='utf-8'></script>";
		liststr += "	</body>\r\n</html>";
		return liststr;
	}

}
